package cz.myslivec.knihovna.dao;

import java.util.List;

import cz.myslivec.knihovna.entity.Author;

public interface AuthorDao {

	void create(Author author);
	
	void delete(Author author);
	
	void update(Author author);
	
	Author getAuthor(long id);
	
	Author findByName(String name);
	
	List<Author> list();
	
}
